define(["js/stock/app1"],function(app1) {

       var fn1=function(){
        require(["stock/drawpic.js"],function(drawpicApi){
                                drawpicApi.drawK(1);
        });
       };

        var run=function(c){
              alert("run");
              $("#stockdetail").click(function(){
                  var _clickId=$(this).attr('id');
                  var pagePath="/stock/stockdetail/stockdetail.html";
                  $("#center_div").empty();
                  $("#center_div").load(pagePath);
                  fn1();
                  alert(app1.show("OK>?"));
                  fn1();

            });
         };
         var tt="i am xiaot";
         return {run:run,val:tt};



//        return ret;
    }
);